<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ include file="Header.jsp"%>
<%@ include file="Menu.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Admin/Update</title>
</head>
<body>
<form action="AdminUpdateServlet" method="post">
<table align="center">
<tr>
<td valign="middle">Name:</td> 
<td valign="middle"> <input type="text" value="${requestScope.employee.name}" name="name"><br></td>
</tr>
<tr>
<td valign="middle">Role:</td> 
<td valign="middle"> <input type="text" value="${requestScope.employee.roleId}" name="role"><br></td>
</tr>
<tr>
<td valign="middle">Rank:</td> 
<td valign="middle"> <input type="text" value="${requestScope.employee.employeeRank}" name="rank"></td>
</tr>
<tr>
<td valign="middle">Email:</td> 
<td valign="middle"> <input type="text" value="${requestScope.employee.officialEmail}" name="email"><br></td>
</tr>
<tr>
<td valign="middle">Username:</td> 
<td valign="middle"> <input type="text" value="${requestScope.employee.username}" name="uname"><br></td>
</tr>
<tr>
<td valign="middle">Password:</td> 
<td valign="middle"> <input type="text" value="${requestScope.employee.password}" name="pswd"><br><br><br></td>
</tr>
<tr>
<td valign="middle"> <input type="hidden" value="${requestScope.employee.employeeId}" name="empid"><br><br><br></td>
</tr>
<tr >
<td align="center" colSpan="2"><input type="submit" value="Update" name="update">
</td>
</tr>


</table>

</form>
</body>
</html>